package com.homedo.microservice.open.service.gateway.manager.web.gateway.bean.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.homedo.common.dao.bean.po.base.BasePo;

/**
 * 告警中服务器列表
 * @author 作者 jgshun
 * @date   创建时间 2018年10月16日 16时44分30秒
 */
@Table(name = "e_alerting")
public class Alerting extends BasePo {
		/**
		 * 属性查询列表
		 */
		public static final String FIELD_ID = "id";
		public static final String FIELD_APPLICATIONNAME = "applicationName";
		public static final String FIELD_SERVICEID = "serviceId";
		public static final String FIELD_URL = "url";
		public static final String FIELD_CREATETIME = "createTime";
		/**
		 * 列名查询列表
		 */
		public static final String COLUMN_ID = "id";
		public static final String COLUMN_APPLICATION_NAME = "application_name";
		public static final String COLUMN_SERVICE_ID = "service_id";
		public static final String COLUMN_URL = "url";
		public static final String COLUMN_CREATE_TIME = "create_time";


			@Id

            @GeneratedValue(generator = "JDBC")

            @Column(name = "id")
		private Integer id;


            @Column(name = "application_name")
		private String applicationName;


            @Column(name = "service_id")
		private String serviceId;


            @Column(name = "url")
		private String url;


            @Column(name = "create_time")
		private Date createTime;

		/**
		 * 获取 
		 *
		 * @return id - 
		 */
		public Integer getId() {
			return id;
		}

		/**
		 * 设置 
		 *
		 * @param id - 
		 */
		public void  setId(Integer id) {
			this.id = id;
		}
		/**
		 * 获取 
		 *
		 * @return applicationName - 
		 */
		public String getApplicationName() {
			return applicationName;
		}

		/**
		 * 设置 
		 *
		 * @param applicationName - 
		 */
		public void  setApplicationName(String applicationName) {
			this.applicationName = applicationName;
		}
		/**
		 * 获取 服务ID
		 *
		 * @return serviceId - 服务ID
		 */
		public String getServiceId() {
			return serviceId;
		}

		/**
		 * 设置 服务ID
		 *
		 * @param serviceId - 服务ID
		 */
		public void  setServiceId(String serviceId) {
			this.serviceId = serviceId;
		}
		/**
		 * 获取 后端服务地址
		 *
		 * @return url - 后端服务地址
		 */
		public String getUrl() {
			return url;
		}

		/**
		 * 设置 后端服务地址
		 *
		 * @param url - 后端服务地址
		 */
		public void  setUrl(String url) {
			this.url = url;
		}
		/**
		 * 获取 应用名称
		 *
		 * @return createTime - 应用名称
		 */
		public Date getCreateTime() {
			return createTime;
		}

		/**
		 * 设置 应用名称
		 *
		 * @param createTime - 应用名称
		 */
		public void  setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
}